home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / LOC / LOCCOUNT.H < prev    next >
Text File  |  1991-11-20  |  712b  |  30 lines

  1. /* LOCCounter.h -- window class */
  2. /* Created 10/4/91 10:31 AM by AppMaker */
  3.  
  4. #define _H_LOCCounter 
  5. #include "zLOCCounter.h"
  6.  
  7. typedef struct {
  8.   long numLines;
  9.   long numSemis;
  10.   long numClasses;
  11.   long prevLines;
  12.   long prevSemis;
  13.   long prevClasses;
  14.   long deltaLines;
  15.   long deltaSemis;
  16.   long deltaClasses;
  17.   Boolean metricsBaselined;
  18.   } TMetricData;
  19.  
  20. struct CLOCCounter : ZLOCCounter {
  21.  
  22.     void    ILOCCounter (CDirector    *aSupervisor);
  23.     void    IMetricFields ( TMetricData *data );
  24.     void    AnalyzeFile ( long dirID, TMetricData *data );
  25.     void    AnalyzeDirectory ( long dirID, int index, TMetricData *data );
  26.     void    CountMetrics ( long dirID, int index );
  27.     void     DoCommand (long        theCommand);
  28.  
  29. }; /* CLOCCounter */
  30.